<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>数据导入平台</title>
	<%@ include file="/common/meta.jsp"%>
	<link href="${ctx}/css/default.css" type="text/css" rel="stylesheet" />
	<link href="${ctx}/js/validate/jquery.validate.css" type="text/css" rel="stylesheet" />
	<script src="${ctx}/js/jquery.js" type="text/javascript"></script>
	<script src="${ctx}/js/validate/jquery.validate.js" type="text/javascript"></script>
	<script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>

</head>

<body>
<h3><s:if test="id == null">创建</s:if><s:else>修改</s:else>任务</h3>
<div id="inputContent">
<form id="inputForm" action="job!save.action" method="post">
<input type="hidden" name="id" value="${id}" />
<table class="inputView">
	<tr>
		<td>任务组名:</td>
		<td><input type="text" name="group" size="40" id="loginName" value="${group}" /></td>
	</tr>
	<tr>
		<td>任务名:</td>
		<td><input type="text" name="name" size="40" value="${name}" /></td>
	</tr>
	<tr>
		<td>任务描述:</td>
		<td><input type="text" id="description" name="description" size="40" value="${description}" /></td>
	</tr>
	<tr>
		<td>创建人:</td>
		<td><input type="text" name="creator" size="40" value="${creator}" /></td>
	</tr>
	<tr>
		<td>Class名:</td>
		<td><input type="text" name="jobClass" size="40" value="${jobClass}" /></td>
	</tr>
	<tr>
		<td>配置文件</td>
		<td><textarea rows="20" cols="100" name="config" >${config}</textarea></td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value="提交" />&nbsp; 
			<input type="button" value="取消" onclick="history.back()"/>
		</td>
	</tr>
</table>
</form>
</div>
</body>
</html>